package com.link.base.base.expenseapplication.service;

import com.link.base.base.expenseapplication.model.ApplicationStore;
import com.link.core.basic.service.BasicService;

import java.util.List;
import java.util.Map;

/**
 * 费用申请-门店-费用申请-门店表
 *
 * @author 黄正杨
 * @date 2019/04/16 19:06
 */
public interface ApplicationStoreService extends BasicService<ApplicationStore> {

    /**
     * 根据费用申请-门店的ID计算他的金额汇总字段，
     * 生成key：费用申请-门店的ID -value:只包含计算字段值的对象的MAP
     *
     * @author 黄正杨
     * @date 2019/04/17
     * @param ids
     * @return Map
     * @throws Exception
     */
    Map<Long, ApplicationStore> computeMoneyMap(List<Long> ids) throws Exception;
}
